#include "mylist1.hpp"
#include <iostream>
#include <stdlib.h>
#include <cstddef>

int main() {
	MyList<int> list1;
	list1.push_back(1);
	list1.push_back(2);
	list1.push_front(3);
	list1.push_front(4);
	std::cout << "List1.size：" << list1.size() << std::endl;
	for (auto it = list1.begin(); it != list1.end(); ++it) {
		std::cout << *it << std::endl;
	}
	
}